const runtime.pallocChunkBytes
14 uses
runtime (current package)
mgcscavenge.go#L1104: newSearchAddr := chunkBase(i) + pallocChunkBytes - pageSize
mheap.go#L33: maxPhysHugePageSize = pallocChunkBytes
mheap.go#L1614: h.curArena.base = alignDown(h.curArena.base|(offset<<logPallocChunkBytes), pallocChunkBytes)
mpagealloc.go#L63: pallocChunkBytes = pallocChunkPages * pageSize
mpagealloc.go#L113: return chunkIdx((p - arenaBaseOffset) / pallocChunkBytes)
mpagealloc.go#L118: return uintptr(ci)*pallocChunkBytes + arenaBaseOffset
mpagealloc.go#L124: return uint(p % pallocChunkBytes / pageSize)
mpagealloc.go#L369: limit := alignUp(base+size, pallocChunkBytes)
mpagealloc.go#L370: base = alignDown(base, pallocChunkBytes)
mpagealloc_64bit.go#L101: if base%pallocChunkBytes != 0 || limit%pallocChunkBytes != 0 {
mpagealloc_64bit.go#L189: if base%pallocChunkBytes != 0 || limit%pallocChunkBytes != 0 {
mpagealloc_64bit.go#L246: n := uintptr(1<<heapAddrBits) / pallocChunkBytes
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |